package cn.zhku.edu.userservice.mapper;

import cn.zhku.edu.feign.pojo.entry.Product;
import cn.zhku.edu.feign.pojo.entry.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User> {
    int deleteByPrimaryKey(String uid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String uid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User findByName(String name);
    String findPswByName(String UserName);
    void save(User user);

}